package com.yc.cloud.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 数字人形象
 *
 * @author Yancy
 * @since 2024-03-10
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("avatars")
@ApiModel(value = "Avatars对象", description = "数字人形象")
public class Avatars extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("名字")
    @TableField("name")
    private String name;

    @ApiModelProperty("描述")
    @TableField("description")
    private String description;

    @ApiModelProperty("文件ID")
    @TableField("file_id")
    private Long fileId;

    @ApiModelProperty("文件ID")
    @TableField("low_file_id")
    private Long lowFileId;

    @ApiModelProperty("分类ID")
    @TableField("category_id")
    private Long categoryId;

    @ApiModelProperty("备注")
    @TableField("note")
    private String note;


    @ApiModelProperty("默认动画名称")
    @TableField("default_animation_name")
    private String defaultAnimationName;

    @ApiModelProperty("多个动画文件ID,已逗号分隔")
    @TableField("animations")
    private String animations;

    @ApiModelProperty("讲解动画名称")
    @TableField("speak_animations_name")
    private String speakAnimationsName;

    @ApiModelProperty("唤醒动画名称,按逗号分隔")
    @TableField("wakeup_animations_name")
    private String wakeupAnimationsName;


    @ApiModelProperty("封面文件ID")
    @TableField("cover")
    private Long cover;

    @ApiModelProperty("企业ID")
    @TableField("company_id")
    private Long companyId;

    @ApiModelProperty("性别")
    @TableField("gender")
    private Integer gender;


    public static final String NAME = "name";

    public static final String DESCRIPTION = "description";

    public static final String FILE_ID = "file_id";

    public static final String CATEGORY_ID = "category_id";

    public static final String NOTE = "note";

    public static final String COMPANY_ID = "company_id";

}
